package cn.dakaqi.services;

import cn.dakaqi.entities.Organization;
import cn.dakaqi.utils.exception.ServiceRuntimeException;
import cn.dakaqi.vo.db.OrgTestVo;

import java.util.List;

/**
 * Created by chunyang on 2016/6/14.
 */
public interface OrganizationService
{
    public List<OrgTestVo> findByContation(String code,String onePass,String phone,String orderByStr, int pageIndex,int pageSize);
    List<Organization> findByName(String name, int pageNumber)throws ServiceRuntimeException;
    Organization findByOnePass(String onePass)throws ServiceRuntimeException;
}
